/* pages/goods_detail/index.wxss */
.index_detail{
    swiper{
        height: 65vw;
        text-align: center;
        image{
          width: 60%;
          
        }
    }
    .goods_price{
         padding: 15rpx;
         font-weight: 600;
         font-size: 32rpx;
         color: var(--themeColor);
    }
    .goods_name_row{
        display: flex;
        border-top: 3rpx solid #dedede;
        border-bottom: 3rpx solid #dedede;
        .goods_name{
            flex: 5;
            color: #000;
            font-size: 30rpx;
            padding: 0 10rpx;
            // 字体多出部分隐藏成。。。
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
        .goods_collect{
            text-align: center;
        flex: 1;
        border-left: 1rpx solid #000;
        .icon-bussiness-man:before{
               color: var(--themeColor);
        }
            .iconfont{}
            .collect_text{}
        }
    }
    .goods_info{
        padding: 20rpx;
        font-weight: 600;
        font-size: 32rpx;
        color: var(--themeColor);
    }
    .bottom_tool{
        border-top:  1rpx solid #000;
        display: flex;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 90rpx;
        background-color: #fff;
        
        .bottom_item{
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            button{
                //隐藏按钮的样式
                position: absolute;
                left: 0;
                top: 0;
                opacity: 0;
                height: 100%;
                width: 100%;
            }
        }
        .btn_cart{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #ffa500;
            color: #fff;
            font-size: 30rpx;
            font-weight: 600;
            flex: 2;
        }
        .btn_buy{
            flex: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #eb4450;
            font-size: 30rpx;
            font-weight: 600;
            color: #fff;
        }
    }
}